package com.itheima.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor

// 被扫描
@Component
// 自动装配
@ConfigurationProperties(prefix = "books")
public class Books {
    private Integer id;
    private String name;
    private String description;
    private String[] lis;


}
